package com.pxene.dmp.test.mr.manager;

import org.apache.hadoop.util.ToolRunner;

import com.pxene.dmp.test.mr.matchUer1.MatchUser1Task;
import com.pxene.dmp.test.mr.matchUser2.MatchUser2Task;

public class JobManager {
	public static void main(String[] args) throws Exception {
		int first=ToolRunner.run(new MatchUser1Task() , args);
		if(first==0){
			int secode=ToolRunner.run(new MatchUser2Task() , args);
			if(secode==0){
				System.exit(0);
			}
		}
	}
}
